package com.wsh.servicee.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.wsh.dao.MyFileMapper;
import com.wsh.service.MyFileService;
import com.wsh.vo.MyFile;
@Service
public class MyFileServiceImpl implements MyFileService {

	@Autowired
	private MyFileMapper myFileMapper;
	@Override
	public int addMyFile(MyFile file) {
		
		return myFileMapper.addMyFile(file);
	}

	@Override
	public List<MyFile> queryListMyFile(int wangpan_uid) {
		
		return myFileMapper.queryListMyFile(wangpan_uid);
	}

	@Override
	public int deleteMyFileByFileid(int fileid) {
		
		return myFileMapper.deleteMyFileByFileid(fileid);
	}

}
